package com.haisen.service;

import com.haisen.core.utils.PageResultSet;
import com.haisen.dataobject.entity.Income;
import com.haisen.dataobject.query.IncomeQuery;

import java.util.List;

public interface IncomeService {

    void create(Income income);
    void update(Income income);
    void delete(Long id);

    List<Income> findAll();
    PageResultSet<Income> findByPage(IncomeQuery incomeQuery);

}
